﻿<Window x:Class="FishingSearch.OptionsRod"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="CANNE - Opzioni" Height="550" Width="500" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">

    <Window.Resources>
        <Style TargetType="{x:Type Label}">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontFamily" Value="Global User Interface" />
            <Setter Property="FontWeight" Value="Bold" />
        </Style>
        <Style TargetType="{x:Type CheckBox}">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontFamily" Value="Global User Interface" />
            <!--<Setter Property="FontWeight" Value="Bold" />-->
        </Style>
    </Window.Resources>

    <Border
          BorderBrush="#FF020202"
          BorderThickness="0,0,0,0"
          Height="Auto">
        <Border.Background>
            <LinearGradientBrush EndPoint="0.8,0.98"
                           StartPoint="-0.500,-0.197">
                <GradientStop Color="#FFD6E1EA"
                      Offset="0" />
                <GradientStop Color="#FF6EB5F5"
                      Offset="0.304" />
                <GradientStop Color="#FF00000F"
                      Offset="1" />
            </LinearGradientBrush>
        </Border.Background>


        <TabControl TabStripPlacement="Top" >
            <TabItem Header="Canne da spigola dalla costa">

                <Grid >
                    <Grid.Background>
                        <LinearGradientBrush EndPoint="0.8,0.98"
                           StartPoint="-0.500,-0.197">
                            <GradientStop Color="#FFD6E1EA"
                      Offset="0" />
                            <GradientStop Color="#FF00000F"
                      Offset="1" />
                            <GradientStop Color="#FF6EB5F5"
                      Offset="0.304" />
                        </LinearGradientBrush>
                    </Grid.Background>


                    <!--<Grid ShowGridLines="True">-->
                    <Grid.RowDefinitions>
                        <RowDefinition Height="2*"></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition Height="2*"></RowDefinition>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.1*" ></ColumnDefinition>
                        <ColumnDefinition></ColumnDefinition>
                        <ColumnDefinition></ColumnDefinition>
                        <ColumnDefinition></ColumnDefinition>
                        <ColumnDefinition Width="0.1*"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <DockPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="5">

                        <Label 
                           Content="IMPOSTA LA RICERCA:"
                           HorizontalAlignment="Center"
                           VerticalAlignment="Center" 
                           FontSize="18" Name="lblRicerca_BassRod" 
                           FontWeight="ExtraBold" />
                    </DockPanel>

                    <Label Grid.Row="1" Grid.Column="1"
                        Content="Azione:" 
                        Name="lblAzione_BassRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <Label Grid.Row="2" Grid.Column="1"
                        Content="Potenza:" 
                        Name="lblPotenza_BassRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <Label Grid.Row="3" Grid.Column="1"
                        Content="Casting (gr):" 
                        Name="lblMinCastingValue_BassRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <Label Grid.Row="4" Grid.Column="1"
                        Content="Lunghezza (cm):" 
                        Name="lblMaxLengthValue_BassRod"  
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <Label Grid.Row="5" Grid.Column="1"
                        Content="Marca:"
                        Name="lblMarca_BassRod"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <!-- INPUT -->
                    <CheckBox  Grid.Row="1" Grid.Column="2"
                        Content="FAST" 
                        Name="cbxActionFast_BassRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <CheckBox Grid.Row="1" Grid.Column="3" 
                        Content="EXTRA FAST"
                        Name="cbxActionEstraFast_BassRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                         />
                    <CheckBox  Grid.Row="2" Grid.Column="2"
                        Content="MEDIUM"
                        Name="cbxPowerMedium_BassRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <CheckBox Grid.Row="2" Grid.Column="3"
                        Content="MED-HEAVY"
                        Name="cbxPowerMedHeavy_BassRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />

                    <TextBox Grid.Row="3" Grid.Column="2" Style="{StaticResource TextBoxOptions}"
                        Text="5" 
                        Name="txtMinCasting_BassRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <TextBox Grid.Row="3" Grid.Column="3" Style="{StaticResource TextBoxOptions}"
                        Text="22" 
                        Name="txtMaxCasting_BassRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <TextBox  Grid.Row="4" Grid.Column="2" Style="{StaticResource TextBoxOptions}"
                        Text="180" 
                        Name="txtMinLength_BassRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <TextBox Grid.Row="4" Grid.Column="3" Style="{StaticResource TextBoxOptions}"
                        Text="240"
                        Name="txtMaxLength_BassRod"  
                        HorizontalAlignment="Left" 
                        VerticalAlignment="Center"
                        />
                    <TextBox Grid.Row="5" Grid.Column="2" Style="{StaticResource TextBoxOptionsBrand}"
                        Text=""
                        Name="txtBrand_BassRod"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center" 
                        />

                    <!--CONFIRM BUTTON-->
                    <Grid Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="5">
                        <Grid.RowDefinitions>
                            <RowDefinition></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition></ColumnDefinition>
                            <ColumnDefinition></ColumnDefinition>
                        </Grid.ColumnDefinitions>


                        <Button Grid.Row="1" Grid.Column="0" Style="{StaticResource ButtonOkCancel}"
                        Content="OK"  
                        Name="btnOK_BassRod"
                        Click="btnOK_Click" 
                        />
                        <Button Grid.Row="1" Grid.Column="1" Style="{StaticResource ButtonOkCancel}"
                        Content="Annulla"  
                        Name="btnCancel_BassRod"
                        Click="btnCancel_CLick" 
                        />
                    </Grid>
                </Grid>

            </TabItem>
            <TabItem Header="Canne da serra dalla costa">

                <!--<Grid ShowGridLines="True">-->
                <Grid >
                    <Grid.Background>
                        <LinearGradientBrush EndPoint="0.8,0.98"
                           StartPoint="-0.500,-0.197">
                            <GradientStop Color="#FFD6E1EA"
                      Offset="0" />
                            <GradientStop Color="#FF00000F"
                      Offset="1" />
                            <GradientStop Color="#FF6EB5F5"
                      Offset="0.304" />
                        </LinearGradientBrush>
                    </Grid.Background>

                    <Grid.RowDefinitions>
                        <RowDefinition Height="2*"></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition Height="2*"></RowDefinition>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.1*" ></ColumnDefinition>
                        <ColumnDefinition></ColumnDefinition>
                        <ColumnDefinition></ColumnDefinition>
                        <ColumnDefinition></ColumnDefinition>
                        <ColumnDefinition Width="0.1*"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <DockPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="5">

                        <Label 
                           Content="IMPOSTA LA RICERCA:"
                           HorizontalAlignment="Center"
                           VerticalAlignment="Center" 
                           FontSize="18" Name="lblRicerca_BluefishRod" 
                           FontWeight="ExtraBold" 
                           />

                    </DockPanel>

                    <Label Grid.Row="1" Grid.Column="1"
                        Content="Azione:" 
                        Name="lblAzione_BluefishRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <Label Grid.Row="2" Grid.Column="1"
                        Content="Potenza:" 
                        Name="lblPotenza_BluefishRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <Label Grid.Row="3" Grid.Column="1"
                        Content="Casting (gr):" 
                        Name="lblMinCasting_ValueCanneSerra" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <Label Grid.Row="4" Grid.Column="1"
                        Content="Lunghezza (cm):" 
                        Name="lblMaxLengthValue_BluefishRod"  
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <Label Grid.Row="5" Grid.Column="1"
                        Content="Marca:"
                        Name="lblMarca_BluefishRod"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />

                    <!-- INPUT -->
                    <DockPanel Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="3">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition></RowDefinition>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition></ColumnDefinition>
                                <ColumnDefinition></ColumnDefinition>
                                <ColumnDefinition></ColumnDefinition>
                            </Grid.ColumnDefinitions>

                            <CheckBox Grid.Column="0"
                            Content="FAST" 
                            Name="cbxActionFast_BluefishRod" 
                            HorizontalAlignment="Left"
                            VerticalAlignment="Center"
                            />
                            <CheckBox Grid.Column="1"
                            Content="MOD FAST"
                            Name="cbxActionModFast_BluefishRod" 
                            HorizontalAlignment="Left"
                            VerticalAlignment="Center"
                             />
                            <CheckBox Grid.Column="2"
                            Content="MODERATE"
                            Name="cbxActionModerate_BluefishRod" 
                            HorizontalAlignment="Left"
                            VerticalAlignment="Center"
                             />
                        </Grid>
                    </DockPanel>
                    <DockPanel Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="3">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition></RowDefinition>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition></ColumnDefinition>
                                <ColumnDefinition></ColumnDefinition>
                                <ColumnDefinition></ColumnDefinition>
                            </Grid.ColumnDefinitions>

                            <CheckBox Grid.Column="0"
                            Content="HEAVY"
                            Name="cbxPowerHeavy_BluefishRod" 
                            HorizontalAlignment="Left" 
                            VerticalAlignment="Center"
                            />
                            <CheckBox Grid.Column="1"
                            Content="MOD-HEAVY"
                            Name="cbxPowerModHeavy_BluefishRod" 
                            HorizontalAlignment="Left"
                            VerticalAlignment="Center"
                            />
                            <CheckBox Grid.Column="2"
                            Content="EXTRA-HEAVY"
                            Name="cbxPowerExtraHeavy_BluefishRod" 
                            HorizontalAlignment="Left"
                            VerticalAlignment="Center"
                            />

                        </Grid>
                    </DockPanel>

                    <TextBox Grid.Row="3" Grid.Column="2" Style="{StaticResource TextBoxOptions}"
                        Text="5" 
                        Name="txtMinCasting_BluefishRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <TextBox Grid.Row="3" Grid.Column="3" Style="{StaticResource TextBoxOptions}"
                        Text="22" 
                        Name="txtMaxCasting_BluefishRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <TextBox  Grid.Row="4" Grid.Column="2" Style="{StaticResource TextBoxOptions}"
                        Text="180" 
                        Name="txtMinLength_BluefishRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <TextBox Grid.Row="4" Grid.Column="3" Style="{StaticResource TextBoxOptions}"
                        Text="240"
                        Name="txtMaxLength_BluefishRod"  
                        HorizontalAlignment="Left" 
                        VerticalAlignment="Center"
                        />
                    <TextBox Grid.Row="5" Grid.Column="2" Style="{StaticResource TextBoxOptionsBrand}"
                        Text=""
                        Name="txtBrand_BlueFish"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center" 
                        />

                    <!--CONFIRM BUTTON-->
                    <Grid Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="5">
                        <Grid.RowDefinitions>
                            <RowDefinition></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition></ColumnDefinition>
                            <ColumnDefinition></ColumnDefinition>
                        </Grid.ColumnDefinitions>

                        <Button  Grid.Row="1" Grid.Column="0"  Style="{StaticResource ButtonOkCancel}"
                        Content="OK"  
                        Name="btnOK_BluefishRod"
                                 Click="btnOK_Click" 
                        />
                        <Button  Grid.Row="1" Grid.Column="1" Style="{StaticResource ButtonOkCancel}"
                        Content="Annulla"  
                        Name="btnCancel_BluefishRod"
                                 Click="btnCancel_CLick" 
                        />
                    </Grid>
                </Grid>

            </TabItem>
            <TabItem Header="Canne da barca">

                <Grid >
                    <Grid.Background>
                        <LinearGradientBrush EndPoint="0.8,0.98"
                           StartPoint="-0.500,-0.197">
                            <GradientStop Color="#FFD6E1EA"
                      Offset="0" />
                            <GradientStop Color="#FF00000F"
                      Offset="1" />
                            <GradientStop Color="#FF6EB5F5"
                      Offset="0.304" />
                        </LinearGradientBrush>
                    </Grid.Background>


                    <!--<Grid ShowGridLines="True">-->
                    <Grid.RowDefinitions>
                        <RowDefinition Height="2*"></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                        <RowDefinition Height="2*"></RowDefinition>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.1*" ></ColumnDefinition>
                        <ColumnDefinition></ColumnDefinition>
                        <ColumnDefinition></ColumnDefinition>
                        <ColumnDefinition></ColumnDefinition>
                        <ColumnDefinition Width="0.1*"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <DockPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="5">

                        <Label 
                           Content="IMPOSTA LA RICERCA:"
                           HorizontalAlignment="Center"
                           VerticalAlignment="Center" 
                           FontSize="18" Name="lblSearch_BoatRod" 
                           FontWeight="ExtraBold" 
                           />

                    </DockPanel>

                    <Label Grid.Row="1" Grid.Column="1"
                        Content="Azione:" 
                        Name="lblAction_BoatRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <Label Grid.Row="2" Grid.Column="1"
                        Content="Potenza:" 
                        Name="lblPower_BoatRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <Label Grid.Row="3" Grid.Column="1"
                        Content="Casting (gr):" 
                        Name="lblCasting_BoatRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <Label Grid.Row="4" Grid.Column="1"
                        Content="Lunghezza (cm):" 
                        Name="lblLength_BoatRod"  
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <Label Grid.Row="5" Grid.Column="1"
                        Content="Marca:"
                        Name="lblMarca_BoatRod"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />

                    <!-- INPUT -->
                    <CheckBox Grid.Row="1" Grid.Column="2"
                        Content="MODERATE"
                        Name="cbxActionModerate_BoatRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <CheckBox Grid.Row="2" Grid.Column="2"
                        Content="HEAVY"
                        Name="cbxPowerHeavy_BoatRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <CheckBox Grid.Row="2" Grid.Column="3"
                        Content="EXTRA-HEAVY"
                        Name="cbxPowerExtraHeavy_BoatRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />

                    <TextBox Grid.Row="3" Grid.Column="2" Style="{StaticResource TextBoxOptions}"
                        Text="5" 
                        Name="txtMinCasting_BoatRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <TextBox Grid.Row="3" Grid.Column="3" Style="{StaticResource TextBoxOptions}"
                        Text="22" 
                        Name="txtMaxCasting_BoatRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <TextBox  Grid.Row="4" Grid.Column="2" Style="{StaticResource TextBoxOptions}"
                        Text="180" 
                        Name="txtMinLength_BoatRod" 
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center"
                        />
                    <TextBox Grid.Row="4" Grid.Column="3" Style="{StaticResource TextBoxOptions}"
                        Text="240"
                        Name="txtMaxLength_BoatRod"  
                        HorizontalAlignment="Left" 
                        VerticalAlignment="Center"
                        />
                    <TextBox Grid.Row="5" Grid.Column="2" Style="{StaticResource TextBoxOptionsBrand}"
                        Text=""
                        Name="txtBrand_BoatRod"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Center" 
                        />

                    <!--CONFIRM BUTTON-->
                    <Grid Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="5">
                        <Grid.RowDefinitions>
                            <RowDefinition></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition></ColumnDefinition>
                            <ColumnDefinition></ColumnDefinition>
                        </Grid.ColumnDefinitions>

                        <Button  Grid.Row="1" Grid.Column="0" Style="{StaticResource ButtonOkCancel}"
                            Content="OK"  
                            Name="btnOK_BoatRod"
                            Click="btnOK_Click" 
                        />
                        <Button Grid.Row="1" Grid.Column="1" Style="{StaticResource ButtonOkCancel}"
                            Content="Annulla"  
                            Name="btnCancel_BoatRod"
                            Click="btnCancel_Click" 
                        />
                    </Grid>
                </Grid>


            </TabItem>
        </TabControl>
    </Border>
</Window>

